package com.aat.dizena.base.service.impl;

import java.util.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aat.dizena.base.bean.User3love;
import com.aat.dizena.base.dao.User3loveDao;
import com.aat.dizena.base.service.User3loveService;

@Service
public class User3loveServiceImpl  implements User3loveService {

    @Autowired
    private User3loveDao user3loveDao;

    public int addBean(User3love bean){
        return user3loveDao.addBean(bean);
    }

    public int updateBean(User3love bean){
        return user3loveDao.updateBean(bean);
    }

    public int deleteBean(String id){
        return user3loveDao.deleteBean(id);
    }

    public User3love queryBean(String id){
        return user3loveDao.queryBean(id);
    }

    public List<User3love> queryAll(Map<String, Object> map){
        return user3loveDao.queryAll(map);
    }

    public long queryCount(Map<String, Object> map){
        return user3loveDao.queryCount(map);
    }

}
